package com.treasure.mall.biz.mapstruct.withdraw;

import com.treasure.mall.biz.entity.withdraw.BankPO;
import com.treasure.mall.biz.vo.withdraw.BankVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author zoul
 * @version 1.0
 * @date 2020/6/14 16:14
 * @Description
 */
@Mapper
public interface BankMapStruct {
    BankMapStruct INSTANCE = Mappers.getMapper(BankMapStruct.class);


    BankVO po2vo(BankPO po);

    List<BankVO> po2vos(List<BankPO> po);
}
